package com.example.leetcode.array;

import com.example.leetcode.array.common.ArrayUtils;

import java.util.List;

class Solution989 {
    public List<Integer> addToArrayForm(int[] num, int k) {
        return ArrayUtils.addToArrayForm(num, k);
    }
}

public class leetcode989 {
    public static void main(String[] args) {
        Solution989 solution989 = new Solution989();
        int[] num = {1, 2, 0, 0};
        int[] num1 = {2, 7, 4};
        int[] num2 = {2, 1, 5};
        System.out.println(solution989.addToArrayForm(num, 34));
        System.out.println(solution989.addToArrayForm(num1, 181));
        System.out.println(solution989.addToArrayForm(num2, 806));
    }
}
